package top.aicats.redis.pubsub;


import redis.clients.jedis.Jedis;

public class PublishTest {
    public static void main(String[] args) {
        for (int i = 0; i < 100000; i++) {
            Jedis jedis = new Jedis("192.168.1.120", 6379);
            jedis.publish("jamesdd", i+"--------dsfaasfda");
            jedis.close();
        }
    }

}
